.Events {
  padding: 4.5rem 3.125rem;
  cursor: default;
}

.events-container {
  max-width: 80rem;
  margin: 0 auto;
}

.events-head {
  font-size: 2.25rem;
  font-weight: 700;
  line-height: 3rem;
  text-align: center;
  color: rgb(24, 28, 23);
  margin-top: 6.25rem;
}

.events-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  max-width: 25rem;
  height: 3.5rem;
  padding: 0.25rem;
  /* gap: .5rem; */
  border-radius: 0.5rem;
  border: 0.0625rem;
  margin: 3.25rem auto 0rem;
  background-color: rgb(225, 225, 225);
}

.cp-button {
  color: rgba(24, 28, 23, 0.6);
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.25rem;
  text-align: center;
  /* background-color: transparent; */
  padding: 0.875rem 3.1875rem;
}

.cp-button.active {
  box-shadow: 0rem 0.25rem 0.25rem 0rem rgba(0, 0, 0, 0.1);
  background-color: rgb(19, 134, 1);
  color: #fff;
  padding: 0.875rem 1.875rem;
  border-radius: 0.5rem;
}

.events-card-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(22rem, 1fr));
  gap: 5rem 3rem;
  margin-top: 4.5rem;
}

@media screen and (max-width: 800px) {
  .events-card-container {
    gap: 3rem;
  }
}

@media screen and (max-width: 425px) {
  .events-card-container {
    grid-template-columns: 1fr;
  }

  .Events {
    padding: 4rem 2rem;
  }

  .events-head {
    font-size: 1.5rem;
    margin-top: 0;
    line-height: 1.1;
  }

  .events-nav {
    flex-direction: column;
  }
}
